package com.dawn.system.sys.service;

import java.util.List;

import com.dawn.system.sys.entity.Resource;

public interface ResourceService {
	
	public void add(Resource record) ;
	
	public void delete(Long id) ;
	
	public void update(Resource record) ;
	
	public Resource get(Long id) ;
	
	public List<Resource> treegridByMenu(Long id) ;
	
	public List<Resource> treegridByMenuView(Long id) ;
	
	public List<Resource> treegridById(Long id);
	
	public Resource selectByHref(String href) ;
	
}
